Download OpenAPI specification:Download
A REST interface for state queries, legacy transactions
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
owner
required
|
string
|
| lock_ids |
Array of strings
<uint64>
|
| end_epoch |
string
<int64>
|
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
address
required
|
string
address is the address to query balances for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
validator_address
required
|
string
validator_address defines the validator address to query for. |
| starting_height |
string
<uint64>
starting_height defines the optional starting height to query the slashes. |
| ending_height |
string
<uint64>
starting_height defines the optional ending height to query the slashes. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| proposal_status |
string
Default:
"PROPOSAL_STATUS_UNSPECIFIED"
Enum:
"PROPOSAL_STATUS_UNSPECIFIED"
"PROPOSAL_STATUS_DEPOSIT_PERIOD"
"PROPOSAL_STATUS_VOTING_PERIOD"
"PROPOSAL_STATUS_PASSED"
"PROPOSAL_STATUS_REJECTED"
"PROPOSAL_STATUS_FAILED"
proposal_status defines the status of the proposals.
|
| voter |
string
voter defines the voter address for the proposals. |
| depositor |
string
depositor defines the deposit addresses from the proposals. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
proposal_id
required
|
string
<uint64>
proposal_id defines the unique id of the proposal. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
proposal_id
required
|
string
<uint64>
proposal_id defines the unique id of the proposal. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| src_validator_addr |
string
src_validator_addr defines the validator address to redelegate from. |
| dst_validator_addr |
string
dst_validator_addr defines the validator address to redelegate to. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
delegator_addr
required
|
string
delegator_addr defines the delegator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| status |
string
status enables to query for validators matching a given status. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
validator_addr
required
|
string
validator_addr defines the validator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
validator_addr
required
|
string
validator_addr defines the validator address to query for. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
last_height
required
|
string
<int64>
last height of the current chain must be sent in request as this is the height under which next consensus state is stored |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
|
revision_number
required
|
string
<uint64>
revision number of the consensus state |
|
revision_height
required
|
string
<uint64>
revision height of the consensus state |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
|
packet_ack_sequences
required
|
Array of strings
<uint64>
non-empty
list of acknowledgement sequences |
|
channel_id
required
|
string
channel unique identifier |
|
port_id
required
|
string
port unique identifier |
|
packet_commitment_sequences
required
|
Array of strings
<uint64>
non-empty
list of packet sequences |
|
connection
required
|
string
connection unique identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
client_id
required
|
string
client identifier |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
|
client_id
required
|
string
client identifier |
|
revision_number
required
|
string
<uint64>
consensus state revision number |
|
revision_height
required
|
string
<uint64>
consensus state revision height |
| latest_height |
boolean
latest_height overrrides the height field and queries the latest stored ConsensusState. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |
| pagination.key |
string
<byte>
key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set. |
| pagination.offset |
string
<uint64>
offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set. |
| pagination.limit |
string
<uint64>
limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app. |
| pagination.count_total |
boolean
count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set. |